__author__ = 'Forcs'

from django.conf.urls import url, include
from wanplus.wangwangba.views import sync_wangwangshow, index_wangwangshow_manage, get_wangwangshow_list
import views

from wanplus.wangwangba.main import content_service
from wanplus.wanbaott.main import wanba_ott_service
from wanplus.common.main import common

urlpatterns = [
    url(r'^doupload$', views.do_upload),
    url(r'^demoupload$', views.demo_upload),
    url(r'^index$', views.index),
    url(r'^getchannellist$', views.channel_list),
    url(r'^dumps/(?P<app>\S+)/(?P<table_name>\S+)$', views.dump_table),
    url(r'^syncwangwangshow', sync_wangwangshow),
    url(r'^wangwangba/show/index$', index_wangwangshow_manage),
    url(r'^wangwangba/show/shows', get_wangwangshow_list),
    url(r'^upload$', views.handle_upload),
    url(r'^appupgrader', views.app_upgrader),

    url(r'^wangwangba/', include(content_service.urls)),
    url(r'^common/', include(common.urls)),
    url(r'^wangwangba$', content_service.index_views),
    url(r'^wanbaott/', include(wanba_ott_service.urls)),
]
